package com.ht.module.bus.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.List;


/**
 * <p>
 * 护苗专县承运企业信息表
 * </p>
 *
 * @author hejialun
 * @since 2024-07-29
 */

@TableName("t_transportation_company_information")
@Data
@Accessors(chain = true)
public class TTransportationCompanyInformation {

    @ApiModelProperty("承运企业编码")
    @TableId
    private String companyCode;

    @ApiModelProperty("承运企业名称")
    private String companyName;

    @ApiModelProperty("组织机构代码")
    private String organizationId;

    @ApiModelProperty("组织机构代码照片")
    private String organizationIdPath;

    @ApiModelProperty("法定代表人姓名")
    private String legalRepresentative;

    @ApiModelProperty("企业成立时间")
    private LocalDate companyCreateTime;

    @ApiModelProperty("联系人电话")
    private String contactPhoneNumber;

    @ApiModelProperty("联系人")
    private String contactPersonName;
    @ApiModelProperty("区划编码")
    private String districtCode;

    private String deptId;

    @ApiModelProperty("uuid")
    private String createUser;
    private LocalDateTime createDate;
    private String updateUser;
    private LocalDateTime updateDate;

    @ApiModelProperty("逻辑删除")
    @TableLogic
    private Integer delFlag;


    @ApiModelProperty("01有效,02无效")
    private String state;

    @ApiModelProperty("区划名称")
    @TableField(exist = false)
    private String districtName;

    @ApiModelProperty("企业车辆集合")
    @TableField(exist = false)
    private List<TVehicleInformation> vehicles;

    @ApiModelProperty("创建人姓名")
    @TableField(exist = false)
    private String createUserName;
}
